#ifndef FFEVENT_H
#define FFEVENT_H

#include<QMetaObject>
#include"thread/ffdemuxerthread.h"
#include"thread/ffadecoderthread.h"
#include"thread/ffvdecoderthread.h"
#include"player/ffplayercontext.h"
#include"queue/ffapacketqueue.h"
#include"queue/ffvpacketqueue.h"
#include"queue/ffaframequeue.h"
#include"queue/ffvframequeue.h"

#include"decoder/ffadecoder.h"
#include"decoder/ffvdecoder.h"
#include"demuxer/ffdemuxer.h"

class FFEvent
{
public:
    FFEvent(FFPlayerContext* playerCtx_);
    virtual ~FFEvent();

    virtual void work() = 0;

protected:
    FFPlayerContext* playerCtx = nullptr;


};

#endif // FFEVENT_H

